package com.focus.xyz.core.pages;

import com.focus.xyz.core.common.keyword.Action;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ThreadGuard;

/**
 * Created by chenmeng on 2016/7/14.
 */
public class PageFactory {
    private Action action;
    private WebDriver driver;

    private PageFactory(WebDriver driver){
        action = new Action(driver);
    }



    public static <T> T getPage(WebDriver driver, Class<T> pageClassToProxy) {
//        Object page = instantiatePage(driver, pageClassToProxy);
        Action action = new Action(driver);

//        initElements(driver, page);
        return null;
    }
}
